Skip to content

CASSJAVA-104: Fix Flaky tests#2045

Open
SiyaoIsHiding wants to merge 26 commits intoapache:4.xfrom
SiyaoIsHiding:flaky-test
Open

CASSJAVA-104: Fix Flaky tests#2045
SiyaoIsHiding wants to merge 26 commits intoapache:4.xfrom
SiyaoIsHiding:flaky-test

Conversation

@SiyaoIsHiding
Copy link
Contributor

@SiyaoIsHiding SiyaoIsHiding commented Jul 2, 2025

Ready for review

@SiyaoIsHiding SiyaoIsHiding changed the title Flaky tests CASSJAVA-104: Fix Flaky tests Jul 15, 2025
Comment on lines +86 to +92
protected CqlPrepareAsyncProcessor(
Optional<? extends DefaultDriverContext> context, CacheBuilder<Object, Object> cacheBuilder) {
this.cache = cacheBuilder.build();
context.ifPresent(
(ctx) -> {
LOG.info("Adding handler to invalidate cached prepared statements on type changes");
EventExecutor adminExecutor = ctx.getNettyOptions().adminEventExecutorGroup().next();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@absurdfarce
CacheBuilder doesn't have a strongValues() method, so I guess our proposed solution about putting strongValues() to override the weak values wouldn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant